class AddColumnTableAdherents < ActiveRecord::Migration
  def self.up
    add_column :adherents, :CF, :boolean, :default => false
    add_column :adherents, :idFamilial, :string
    add_column :adherents, :typeTarifAdherent, :string
    add_column :adherents, :paiementAdhesion, :boolean, :default => false
    add_column :adherents, :paiementActivite, :boolean, :default => false
  end

  def self.down
    remove_column :adherents, :paiementActivite
    remove_column :adherents, :paiementAdhesion
    remove_column :adherents, :typeTarifAdherent
    remove_column :adherents, :idFamilial
    remove_column :adherents, :CF
  end
end
